package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.es.SkuEsModel;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.io.IOException;
import java.util.List;

/**
 * @author XB on 2021/11/29 0029.
 * @version 3.0
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {

	@RequestMapping("/ProductSearch/productSearch/getSkuEsmodel")
	R getSkuEsmodel(@RequestBody List<SkuEsModel> skuEsModelList) throws IOException ;
}
